package com.xin.di.uav.operate.po;

import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class DeliveryPointPO {

    private String id;

    private String name;

    private BigDecimal latitude;

    private BigDecimal longitude;
    @NotNull(message = "配送方纬度不能为空")
    private BigDecimal senderLatitude;
    @NotNull(message = "配送方经度不能为空")
    private BigDecimal senderLongitude;
    private Integer status;

    private BigDecimal expressFee;

    @ApiModelProperty("配送时长")
    private Integer expressDuration;

    private Date createTime;

    private Date updateTime;

    private String scenicSpotId;
}
